@SET STSADM="c:\program files\common files\microsoft shared\web server extensions\14\bin\stsadm"

net stop SPAdminV4

%STSADM% -o deactivatefeature -name EF_EFSimpleReminder -url http://hvsp2010a:8080 -force
%STSADM% -o execadmsvcjobs

%STSADM% -o retractsolution -name efsimplereminder.wsp -immediate
%STSADM% -o execadmsvcjobs

%STSADM% -o deletesolution -name efsimplereminder.wsp -override
%STSADM% -o execadmsvcjobs

net start SPAdminV4

pause
